package com.letoken.platform.repo.ecommerce.dto;

import com.letoken.platform.repo.ecommerce.po.EcommerceProductSku;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
@ApiModel(value = "新商家新增商品SKU请求对象", description = "新商家新增商品SKU请求对象")
public class ShopAddSkuReq implements Serializable {


    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "价格")
    private BigDecimal price;

    @ApiModelProperty(value = "价格(实付)")
    private BigDecimal realPrice;

    @ApiModelProperty(value = "库存")
    private Integer stock;


    @ApiModelProperty(value = "展示图片")
    private String pic;

    @ApiModelProperty(value = "销量")
    private Integer sale;

    @ApiModelProperty(value = "商品销售属性，json格式{key=颜色，valuse=黑色}")
    private String spData;










}
